<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        div {
            position: absolute;
            left: calc(50% - 90px);
            top: calc(50% - 90px);
            width: 100px;
            height: 100px;
            padding: 20px;
            border: 20px solid transparent;
            background-image: url("./tree.jfif");
            background-repeat: no-repeat;
            background-position: 0px 0px;
            background-origin: padding-box;
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>